#include "stdafx.h"

#include "powx-n.h"
#include <numeric>

#define BOOST_TEST_MODULE powx-n-test
#include <boost/test/unit_test.hpp>

BOOST_AUTO_TEST_CASE(testcase299) {
    BOOST_CHECK_CLOSE(Solution{}.myPow(1.00000, 2147483647), 1.0, 0.0001);
}

BOOST_AUTO_TEST_CASE(testcase300) {
    BOOST_CHECK_CLOSE(Solution{}.myPow(1.00000, std::numeric_limits<int>::min()), 1.0, 0.0001);
}

